﻿@{
    ViewData["Title"] = "ArchivesList";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div style="margin:20px 20px">
    <form class="layui-form layui-row layui-col-space0">
        <div class="layui-col-md3">
            <div class="layui-form-item">
                <label class="layui-form-label">可视耳号:</label>
                <div class="layui-input-block">
                    <input type="text" name="earNumber" id="earNumber" placeholder="请输入" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-col-md3">
            <div class="layui-form-item">
                <label class="layui-form-label">电子耳标号:</label>
                <div class="layui-input-block">
                    <input type="text" name="electronicEarNumber" id="electronicEarNumber" placeholder="请输入" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-col-md3">
            <div class="layui-form-item">
                <label class="layui-form-label">品种:</label>
                <div class="layui-input-block">
                    <select name="sheepBreed" id="sheepBreed" >
                        <option value="">请选择品种</option>
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-col-md3">
            <div class="layui-form-item">
                <label class="layui-form-label">出生日期:</label>
                <div class="layui-input-block layui-input-wrap">
                    <input type="text" autocomplete="off" name="StartSheepBir" id="StartSheepBir" lay-verify="date" class="layui-input layui-input-inline" placeholder="开始日期" style="width:128px">
                    <div class="layui-form-mid" style="margin:0px 10px 0px 3px">-</div>
                    <input type="text" autocomplete="off" name="EndSheepBir" id="EndSheepBir" lay-verify="date" class="layui-input layui-input-inline" placeholder="结束日期" style="width:128px">
                </div>
            </div>
        </div>
        <div class="layui-col-md3">
            <div class="layui-form-item">
                <label class="layui-form-label">性别:</label>
                <div class="layui-input-block">
                    <select name="sheepGender" id="sheepGender" >
                        <option value="2">请选择性别</option>
                        <option value="1">公</option>
                        <option value="0">母</option>
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-col-md3">
            <div class="layui-form-item">
                <label class="layui-form-label">羊只类型:</label>
                <div class="layui-input-block">
                    <select name="sheepType" id="sheepType" >
                        <option value="">请选择羊只类型</option>
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-col-md3">
            <div class="layui-form-item">
                <label class="layui-form-label">生长阶段:</label>
                <div class="layui-input-block">
                    <select name="growthStage" id="growthStage" >
                        <option value="">请选择生长阶段</option>
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-col-md3">
            <div class="layui-form-item">
                <label class="layui-form-label">位置:</label>
                <div class="layui-input-block">
                    <div class="layui-input-inline" style="width:128px">
                        <select name="cottageId" id="cottageId" lay-filter="cottageIdSelect" width="120px" >
                            <option value="">请选择</option>
                        </select>
                    </div>

                    <div class="layui-form-mid">-</div>
                    <div class="layui-input-inline" style="width:128px">
                        <select name="fieId" id="fieId" style="width:120px">
                        </select>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-col-md3">
            <div class="layui-form-item">
                <label class="layui-form-label">基因等级:</label>
                <div class="layui-input-block">
                    <select name="geneticGrade" id="geneticGrade" >
                        <option value="">请选择基因等级</option>
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-col-md3">
            <div class="layui-form-item">
                <label class="layui-form-label">生产等级:</label>
                <div class="layui-input-block">
                    <select name="productionGrade" id="productionGrade" >
                        <option value="">请选择生产等级</option>
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-col-md3">
            <div class="layui-form-item">
                <label class="layui-form-label">销售等级:</label>
                <div class="layui-input-block">
                    <select name="salesGrade" id="salesGrade" >
                        <option value="">请选择销售等级</option>
                        <option value="无">无</option>
                        <option value="未定级">未定级</option>
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-col-md3">
            <div class="layui-form-item">
                <label class="layui-form-label">月龄:</label>
                <div class="layui-input-block ">
                    <input type="text" name="A" placeholder="请输入" class="layui-input layui-input-inline" style="width:128px">
                    <div class="layui-form-mid">-</div>
                    <input type="text" name="B" placeholder="请输入" class="layui-input layui-input-inline" style="width:128px">
                </div>
            </div>
        </div>
        <div class="layui-col-md3">
            <div class="layui-form-item">
                <label class="layui-form-label">繁殖状态:</label>
                <div class="layui-input-block">
                    <select name="reproductiveState" id="reproductiveState" >
                        <option value="">请选择繁殖状态</option>
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-col-md3">
            <div class="layui-form-item">
                <label class="layui-form-label">父耳号:</label>
                <div class="layui-input-block">
                    <input type="text" name="fatherEarNumber" id="fatherEarNumber" placeholder="请输入" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-col-md3">
            <div class="layui-form-item">
                <label class="layui-form-label">母耳号:</label>
                <div class="layui-input-block">
                    <input type="text" name="motherEarNumber" id="motherEarNumber" placeholder="请输入" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-col-md3">
            <div class="layui-form-item">
                <label class="layui-form-label" style="width:90px">繁殖状态天数:</label>
                <div class="layui-input-block">
                    <input type="text" name="startStatusDays" placeholder="请输入" class="layui-input layui-input-inline" style="width:120px">
                    <div class="layui-form-mid">-</div>
                    <input type="text" name="endStatusDays" placeholder="请输入" class="layui-input layui-input-inline" style="width:126px">
                </div>
            </div>
        </div>
        <div class="layui-col-md3">
            <div class="layui-form-item">
                <label class="layui-form-label">在场状态:</label>
                <div class="layui-input-block">
                    <select name="presence" id="presence" >
                        <option value="">请选择在场状态</option>
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-col-md3" style="margin-left:24px">
            <div class="layui-form-item">
                <div class="layui-btn-container layui-col-xs12">
                    <button type="button" class="layui-btn" id="searchBtn" style="background-color:red;border-radius:5px">查询</button>
                    <button type="reset" class="layui-btn layui-btn-primary" style="border-radius:5px">重置</button>
                </div>
            </div>
        </div>
    </form>
    <table class="layui-hide" id="ID-table-demo-setRowChecked"></table>
    <script type="text/html" id="demo-toolbar-setRowChecked">
        <div class="layui-btn-container">
          <button class="layui-btn" style="background-color:red; border-radius:5px" lay-event="getCheckData" onclick="location.href='/IAMH/ArchivesAddMalePage'">
               <i class="layui-icon layui-icon-add-1"></i>
              新增种公
              </button>
          <button class="layui-btn"  style="background-color:red; border-radius:5px" lay-event="getCheckData" onclick="location.href='/IAMH/ArchivesAddFemalePage'">
               <i class="layui-icon layui-icon-add-1"></i>
              新增种母
              </button>
          <button class="layui-btn"  style="background-color:red;border-radius:5px" lay-event="getCheckData" onclick="location.href='/IAMH/ArchivesAddDescendentPage'">
               <i class="layui-icon layui-icon-add-1"></i>
              新增后裔
              </button>
        </div>
    </script>
    <div id="pagesbox"></div>
    <script type="text/html" id="barDemo">
        <div>
          <a class="layui-table-link" style="color:dodgerblue;margin-right:15px" href="javascript:void(0);" lay-event="edit">修改</a>
          <a  class="layui-table-link"style="color:dodgerblue" href="javascript:void(0);" lay-event="delete">删除</a>
        </div>
    </script>
    <script src="~/js/archives/archiveslist.js?id="+new Date()></script>
</div>


